package com.fastloan.jn.mgt.customermanager.basic.model.vo;

import com.kawins.supers.tree.annonation.TreeChild;
import com.kawins.supers.tree.annonation.TreeId;
import com.kawins.supers.tree.annonation.TreeParentId;

import java.util.Date;
import java.util.List;

/**
 * @author yanwe
 *         createTime 2017-10-2017/10/17 15:32
 */
public class JnCustomerManagerTree {

    @TreeId
    private String userId;

    /**
     * 客户经理父ID
     */
    @TreeParentId
    private String parentId;

    /**
     * 客户经理级别
     */
    private String levelId;

    /**
     * 入职时间
     */
    private Date hiredate;

    private String cname;

    private String levelName;

    @TreeChild
    private List<JnCustomerManagerTree> childCustomerManager;

    public String getLevelName() {
        return levelName;
    }

    public void setLevelName(String levelName) {
        this.levelName = levelName;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getLevelId() {
        return levelId;
    }

    public void setLevelId(String levelId) {
        this.levelId = levelId;
    }

    public Date getHiredate() {
        return hiredate;
    }

    public void setHiredate(Date hiredate) {
        this.hiredate = hiredate;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public List<JnCustomerManagerTree> getChildCustomerManager() {
        return childCustomerManager;
    }

    public void setChildCustomerManager(List<JnCustomerManagerTree> childCustomerManager) {
        this.childCustomerManager = childCustomerManager;
    }
}
